<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
  <Import Project="..\..\..\MonoDevelop.props" />
  <Import Project="$(ReferencesGtk)" />
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProjectGuid>{50D6768C-C072-4E79-AFC5-C1C40767EF45}</ProjectGuid>
    <TargetFrameworkVersion>$(MDFrameworkVersion)</TargetFrameworkVersion>
    <OutputPath>..\..\..\build\bin</OutputPath>
    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
    <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " />
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " />
  <ItemGroup>
    <IncludeCopyLocal Include="Xwt.Gtk.Mac.dll" />
  </ItemGroup>
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.Core" />
    <Reference Include="System.Xml" />
    <Reference Include="System.Xml.Linq" />
    <Reference Include="System.Web" />
    <Reference Include="System.Drawing" />
    <Reference Include="Xamarin.Mac">
      <HintPath>..\..\..\external\Xamarin.Mac.dll</HintPath>
    </Reference>
    <Reference Include="System.Net.Http" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\..\core\MonoDevelop.Core\MonoDevelop.Core.csproj">
      <Project>{7525BB88-6142-4A26-93B9-A30C6983390A}</Project>
      <Name>MonoDevelop.Core</Name>
      <Private>False</Private>
    </ProjectReference>
    <ProjectReference Include="..\..\core\MonoDevelop.Ide\MonoDevelop.Ide.csproj">
      <Project>{27096E7F-C91C-4AC6-B289-6897A701DF21}</Project>
      <Name>MonoDevelop.Ide</Name>
      <Private>False</Private>
    </ProjectReference>
    <ProjectReference Include="..\..\..\external\xwt\Xwt\Xwt.csproj">
      <Project>{92494904-35FA-4DC9-BDE9-3A3E87AC49D3}</Project>
      <Name>Xwt</Name>
      <Private>False</Private>
    </ProjectReference>
    <ProjectReference Include="..\..\..\external\mono-addins\Mono.Addins\Mono.Addins.csproj">
      <Project>{91DD5A2D-9FE3-4C3C-9253-876141874DAD}</Project>
      <Name>Mono.Addins</Name>
      <Private>False</Private>
    </ProjectReference>
    <ProjectReference Include="..\..\..\external\xwt\Xwt.Gtk.Mac\Xwt.Gtk.Mac.csproj">
      <Project>{E95833C9-90AA-4366-9262-0A1BED148249}</Project>
      <Name>Xwt.Gtk.Mac</Name>
      <Private>True</Private>
    </ProjectReference>
    <ProjectReference Include="..\..\..\external\xwt\Xwt.Gtk\Xwt.Gtk.csproj">
      <Project>{C3887A93-B2BD-4097-8E2F-3A063EFF32FD}</Project>
      <Name>Xwt.Gtk</Name>
      <Private>False</Private>
    </ProjectReference>
    <ProjectReference Include="..\..\..\external\xwt\Xwt.XamMac\Xwt.XamMac.csproj">
      <Project>{B7C1673E-5124-4BE5-8D21-EC8B12F85B6B}</Project>
      <Name>Xwt.XamMac</Name>
      <Private>False</Private>
    </ProjectReference>
  </ItemGroup>
  <ItemGroup>
    <Compile Include="AssemblyInfo.cs" />
    <Compile Include="MacKeychainPasswordProvider.cs" />
    <Compile Include="MacPlatform.cs" />
    <Compile Include="Dialogs\MacAddFileDialogHandler.cs" />
    <Compile Include="Dialogs\MacOpenFileDialogHandler.cs" />
    <Compile Include="Dialogs\MacSelectFileDialogHandler.cs" />
    <Compile Include="Dialogs\MDBox.cs" />
    <Compile Include="Dialogs\SelectEncodingPanel.cs" />
    <Compile Include="Dialogs\SelectEncodingPopUpButton.cs" />
    <Compile Include="Dialogs\Layout.cs" />
    <Compile Include="Dialogs\MacAlertDialogHandler.cs" />
    <Compile Include="MacInterop\CoreFoundation.cs" />
    <Compile Include="MacInterop\ApplicationEvents.cs" />
    <Compile Include="MacInterop\AppleEvent.cs" />
    <Compile Include="MacInterop\AppleScript.cs" />
    <Compile Include="MacInterop\ComponentManager.cs" />
    <Compile Include="MacInterop\GtkQuartz.cs" />
    <Compile Include="MacInterop\LaunchServices.cs" />
    <Compile Include="MacInterop\ProcessManager.cs" />
    <Compile Include="MacInterop\Keychain.cs" />
    <Compile Include="MacIntegrationCommands.cs" />
    <Compile Include="MacExternalConsoleProcess.cs" />
    <Compile Include="MacInterop\Carbon.cs" />
    <Compile Include="MacInterop\AppleEvents\Native.cs" />
    <Compile Include="AddinInfo.cs" />
    <Compile Include="MacProxyCredentialProvider.cs" />
    <Compile Include="ExtendedTitleBarWindowBackend.cs" />
    <Compile Include="ExtendedTitleBarDialogBackend.cs" />
    <Compile Include="AccessibleGtkSearchEntryBackend.cs" />
    <Compile Include="MainToolbar\MainToolbar.cs" />
    <Compile Include="MainToolbar\RunButton.cs" />
    <Compile Include="MainToolbar\SearchBar.cs" />
    <Compile Include="MainToolbar\ButtonBar.cs" />
    <Compile Include="MainToolbar\SelectorView.cs" />
    <Compile Include="MainToolbar\StatusBar.cs" />
    <Compile Include="MainToolbar\VerticallyCenteredTextFieldCell.cs" />
    <Compile Include="MainToolbar\AwesomeBar.cs" />
    <Compile Include="MainToolbar\ButtonBarContainer.cs" />
    <Compile Include="MainToolbar\Styles.cs" />
    <Compile Include="MainToolbar\MultiResImage.cs" />
    <Compile Include="MimeMapLoader.cs" />
    <Compile Include="ScreenMonitor.cs" />
    <Compile Include="MainToolbar\NSFocusButton.cs" />
    <Compile Include="Dialogs\MDAccessoryViewBox.cs" />
    <Compile Include="Dialogs\MacCommonFileDialogHandler.cs" />
    <Compile Include="MacTelemetryDetails.cs" />
    <Compile Include="Interop.cs" />
    <Compile Include="KernelInterop.cs" />
    <Compile Include="MacPlatformSettings.cs" />
    <Compile Include="MacHttpMessageHandlerProvider.cs" />
    <Compile Include="NSUrlSessionCredentialsHandler.cs" />
    <Compile Include="BasicAuthenticationHandler.cs" />
    <Compile Include="MacIdeAppleEvents.cs" />
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="icons\build.png" />
    <EmbeddedResource Include="icons\build%402x.png" />
    <EmbeddedResource Include="icons\build~contrast.png" />
    <EmbeddedResource Include="icons\build~contrast%402x.png" />
    <EmbeddedResource Include="icons\build~contrast~dark.png" />
    <EmbeddedResource Include="icons\build~contrast~dark%402x.png" />
    <EmbeddedResource Include="icons\build~dark.png" />
    <EmbeddedResource Include="icons\build~dark%402x.png" />

    <EmbeddedResource Include="icons\continue.png" />
    <EmbeddedResource Include="icons\continue%402x.png" />
    <EmbeddedResource Include="icons\continue~contrast.png" />
    <EmbeddedResource Include="icons\continue~contrast%402x.png" />
    <EmbeddedResource Include="icons\continue~contrast~dark.png" />
    <EmbeddedResource Include="icons\continue~contrast~dark%402x.png" />
    <EmbeddedResource Include="icons\continue~dark.png" />
    <EmbeddedResource Include="icons\continue~dark%402x.png" />

    <EmbeddedResource Include="icons\device.png" />
    <EmbeddedResource Include="icons\device%402x.png" />
    <EmbeddedResource Include="icons\device~contrast.png" />
    <EmbeddedResource Include="icons\device~contrast%402x.png" />
    <EmbeddedResource Include="icons\device~contrast~dark.png" />
    <EmbeddedResource Include="icons\device~contrast~dark%402x.png" />
    <EmbeddedResource Include="icons\device~dark.png" />
    <EmbeddedResource Include="icons\device~dark%402x.png" />

    <EmbeddedResource Include="icons\project.png" />
    <EmbeddedResource Include="icons\project%402x.png" />
    <EmbeddedResource Include="icons\project~contrast.png" />
    <EmbeddedResource Include="icons\project~contrast%402x.png" />
    <EmbeddedResource Include="icons\project~contrast~dark.png" />
    <EmbeddedResource Include="icons\project~contrast~dark%402x.png" />
    <EmbeddedResource Include="icons\project~dark.png" />
    <EmbeddedResource Include="icons\project~dark%402x.png" />

    <EmbeddedResource Include="icons\status-stop-16.png" />
    <EmbeddedResource Include="icons\status-stop-16%402x.png" />
    <EmbeddedResource Include="icons\status-stop-16~contrast.png" />
    <EmbeddedResource Include="icons\status-stop-16~contrast%402x.png" />
    <EmbeddedResource Include="icons\status-stop-16~contrast~dark.png" />
    <EmbeddedResource Include="icons\status-stop-16~contrast~dark%402x.png" />
    <EmbeddedResource Include="icons\status-stop-16~dark.png" />
    <EmbeddedResource Include="icons\status-stop-16~dark%402x.png" />

    <EmbeddedResource Include="icons\stop.png" />
    <EmbeddedResource Include="icons\stop%402x.png" />
    <EmbeddedResource Include="icons\stop~contrast.png" />
    <EmbeddedResource Include="icons\stop~contrast%402x.png" />
    <EmbeddedResource Include="icons\stop~contrast~dark.png" />
    <EmbeddedResource Include="icons\stop~contrast~dark%402x.png" />
    <EmbeddedResource Include="icons\stop~dark.png" />
    <EmbeddedResource Include="icons\stop~dark%402x.png" />

    <EmbeddedResource Include="maintoolbarbg.png" />
    <EmbeddedResource Include="maintoolbarbg~dark.png" />
    <EmbeddedResource Include="maintoolbarbg~dark%402x.png" />

    <EmbeddedResource Include="MacPlatform.addin.xml" />

    <EmbeddedResource Include="..\..\..\external\Xamarin.Mac.buildinfo">
      <Link>Xamarin.Mac.buildinfo</Link>
    </EmbeddedResource>
  </ItemGroup>
  <ItemGroup>
    <InternalsVisibleTo Include="MacPlatform.Tests" />
  </ItemGroup>
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
  <ItemGroup>
    <LibXammac Include="..\..\..\external\libxammac.dylib" />
  </ItemGroup>
  <ItemGroup>
    <None Include="query-vsmac.mm" />
  </ItemGroup>
  <Target Name="AfterBuild">
    <Copy SourceFiles="@(LibXammac)" DestinationFiles="$(OutputPath)\libxammac.dylib" SkipUnchangedFiles="true" />
  </Target>
</Project>
